import type { Form } from "@/interface/formData";
import { ref } from "vue";

export default function formData() {
    const form = ref<Form[]>([
        {
            id: "0",
            publisher: "池听风",
            jobType: "零工",
            status: "已通过",
            title: "火车司机",
            description: "开火车",
            salary: 550,
            process: "已完成",
            taker: ["张三", "张si"],
            createdTime: new Date("2025-03-15T10:00:00Z"),
            startTime: new Date("2025-03-15T10:00:00Z"),
            publishTime: new Date("2025-03-15T10:00:00Z"),
            autoPublish: 1,
        },
        {
            id: "1",
            publisher: "池听风",
            jobType: "短期兼职",
            status: "已通过",
            title: "图书馆整理书籍",
            description: "开火车",
            salary: 234,
            process: "经行中",
            taker: ["张三", "张si"],
            createdTime: new Date("2025-04-25T10:00:00Z"),
            startTime: new Date("2025-05-15T10:00:00Z"),
            publishTime: new Date("2025-06-15T10:00:00Z"),
            autoPublish: 1,
        },
        {
            id: "2",
            publisher: "池听风",
            jobType: "长期兼职",
            status: "已通过",
            title: "图书馆整理书籍",
            description: "开火车",
            salary: 2342,
            process: "已完成",
            taker: ["张三", "张si"],
            createdTime: new Date(),
            startTime: new Date(),
            publishTime: new Date(),
            autoPublish: 1,
        },
        {
            id: "3",
            publisher: "闫淼淼",
            jobType: "零工",
            status: "已通过",
            title: "新车试驾",
            description: "开火车",
            salary: 233,
            process: "经行中",
            taker: ["张三", "张si"],
            createdTime: new Date(),
            startTime: new Date(),
            publishTime: new Date(),
            autoPublish: 1,
        },
        {
            id: "4",
            publisher: "闫淼淼",
            jobType: "短期兼职",
            status: "待审核",
            title: "科学上网",
            description: "翻墙观看",
            salary: 123,
            process: "已完成",
            taker: ["张三", "张si"],
            createdTime: new Date(),
            startTime: new Date(),
            publishTime: new Date(),
            autoPublish: 1,
        },
        {
            id: "5",
            publisher: "钱多多",
            jobType: "短期兼职",
            status: "已通过",
            title: "火车见习",
            description: "翻墙观看",
            salary: 12,
            process: "已结算",
            taker: ["张三", "张si"],
            createdTime: new Date(),
            startTime: new Date(),
            publishTime: new Date(),
            autoPublish: true,
        },
        {
            id: "6",
            publisher: "闫淼淼",
            jobType: "零工",
            status: "待审核",
            title: "采购物资",
            description: "翻墙观看",
            salary: 78,
            process: "待接单",
            taker: ["张三", "张si"],
            createdTime: new Date(),
            startTime: new Date(),
            publishTime: new Date(),
            autoPublish: true,
        },
        {
            id: "7",
            publisher: "闫淼淼",
            jobType: "长期兼职",
            status: "驳回",
            title: "采购物资",
            description: "翻墙观看",
            salary: 565,
            process: "经行中",
            taker: ["张三", "张si"],
            createdTime: new Date(),
            startTime: new Date(),
            publishTime: new Date(),
            autoPublish: true,
        },
        {
            id: "8",
            publisher: "池听风",
            jobType: "长期兼职",
            status: "待审核",
            title: "科学上网",
            description: "翻墙观看",
            salary: 23,
            process: "待接单",
            taker: ["张三", "张si"],
            createdTime: new Date(),
            startTime: new Date(),
            publishTime: new Date(),
            autoPublish: true,
        },
    ]);

    return form;
}
